﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TaiLieu;
using DevExpress.Xpo;

public partial class tl_frontend_GioiThieu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int id = ConvertType.ToInt(QueryHelper.Get_Value_TheEndOfQueryString(Request));
        if (id == 0)
            LoadControlCenter("control/gt_content.ascx");
        else
            LoadControlCenter("control/gt_content_1.ascx");

    }
    protected void LoadControlCenter(string path)
    {
        this.pnGioiThieu.Controls.Clear();
        this.pnGioiThieu.Controls.Add(LoadControl(path));
    }
}